package com.jt.web.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class JSONPController {
    @RequestMapping("/web/testJSONP")
    public String jsonp(String callback){
        return callback+"({'id':'100','name':'tomcat猫'})";
    }
}
